package dice.sinanya.tools.checkdata;

import static dice.sinanya.system.MessagesBanList.groupSwitchHashMap;

public class CheckGroupInSimple {
    public static boolean checkGroupInSimple(Long groupId) {
        return groupSwitchHashMap != null && groupSwitchHashMap.containsKey(groupId) && groupSwitchHashMap.get(groupId).isSimple();
    }

    public static boolean checkGroupInSimple(String groupId) {
        return checkGroupInSimple(Long.parseLong(groupId));
    }
}
